package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type Intimacy struct {
	Id           int `json:"id" gorm:"primaryKey;autoIncrement"`
	Uid          int `json:"uid"`
	Anchorid     int `json:"anchorid"`
	Intimacy     int `json:"intimacy"`      //int(10) DEFAULT NULL COMMENT '亲密度',
	IntimacyWeek int `json:"intimacy_week"` //int(10) DEFAULT '0' COMMENT '亲密度-本周',
}

func (Intimacy) TableName() string {
	return fmt.Sprintf("%sintimacy", models.Prefix)
}
